import java.io.BufferedOutputStream;
import java.io.OutputStream;


public class BufferedOutputStreamWithDeletable extends BufferedOutputStream {

	public BufferedOutputStreamWithDeletable(OutputStream arg0) {
		super(arg0);
		
	}
	public void deleteLastByte(int num){
		if(count<num) count=0;
		else count -= num;

	}
	
}
